<?php 

error_reporting(0);

include "configs/config.php";

define('Admin',$config['admin']);

$url= Admin."/index.php";

$dir = "./".Admin;

// 验证目录是否存在
if(!is_dir($dir)){
	$error=array();
	$error['info']="当前目录下，目录 ".Home." 不存在";
	$error['goback']=0;
	include "style/erroer.html";
	exit;
}
echo "<script>location.href='".$url."'</script>";